<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>机构分级查询</title>
</head>
<body>
	<tr>
		<td nowrap="nowrap" class="admin_query_left01">所属机构:</td>
		<td nowrap="nowrap" class="admin_query_right01">
			<select name="orgNo5" class="selectbutton" id="orgNo" style="width: 180px" onchange="getOrg1();">
				<c:choose>
					<c:when test="${cmmtinorgsyi ==null}">
						<option value="${corg.orgNo}"
							<c:if test="${corg.orgNo==Bean.orgNo5 }">selected="selected"</c:if>>${corg.orgNm}</option>
					</c:when>
					<c:otherwise>
						<c:forEach items="${cmmtinorgsyi}" var="item">
							<option value="${item[0]}"
								<c:if test="${item[0]==Bean.orgNo5 }">selected="selected"</c:if>>${item[1]}</option>
						</c:forEach>
					</c:otherwise>
				</c:choose>
		</select> <input type="hidden" id="orgLvl" value="${corg.orgLvl}"></td>
		<td nowrap="nowrap" class="admin_query_left01">下属机构:</td>
		<td nowrap="nowrap" class="admin_query_right01"><select
			name="orgNo1" class="selectbutton" id="orgNo1" style="width: 180px"
			onchange="getOrg2();">
				<option value="1"
					<c:if test="${'1'==Bean.orgNo1 }">selected="selected"</c:if>>--全部--</option>
				<option value=""
					<c:if test="${Bean.orgNo1 ==''}">selected="selected"</c:if>>--请选择--</option>
				<c:forEach items="${cmmtinorgs}" var="item">
					<option value="${item[0]}"
						<c:if test="${item[0]==Bean.orgNo1 }">selected="selected"</c:if>>${item[1]}</option>
				</c:forEach>
		</select></td>

		<td nowrap="nowrap" class="admin_query_left01">下属子机构:</td>
		<td nowrap="nowrap" class="admin_query_right01"><select
			name="orgNo2" class="selectbutton" id="orgNo2" style="width: 180px"
			onchange="getOrg3();">
				<option value="1"
					<c:if test="${'1'==Bean.orgNo2 }">selected="selected"</c:if>>--全部--</option>
				<option value=""
					<c:if test="${Bean.orgNo2 ==''}">selected="selected"</c:if>>--请选择--</option>

				<c:forEach items="${cmmtinorgsdown}" var="item">
					<option value="${item[0]}"
						<c:if test="${item[0]==Bean.orgNo2 }">selected="selected"</c:if>>${item[1]}</option>
				</c:forEach>
		</select></td>
	</tr>
	<tr>
		<td nowrap="nowrap" class="admin_query_left01">子机构:</td>
		<td nowrap="nowrap" class="admin_query_right01"><select
			name="orgNo3" class="selectbutton" id="orgNo3" style="width: 180px"
			onchange="getOrg4();">
				<option value="1"
					<c:if test="${'1'==Bean.orgNo3 }">selected="selected"</c:if>>--全部--</option>
				<option value=""
					<c:if test="${Bean.orgNo3 ==''}">selected="selected"</c:if>>--请选择--</option>
				<c:forEach items="${cmmtinorgsdowndown}" var="item">
					<option value="${item[0]}"
						<c:if test="${item[0]==Bean.orgNo3 }">selected="selected"</c:if>>${item[1]}</option>
				</c:forEach>
		</select></td>
		<td nowrap="nowrap" class="admin_query_left01">机构:</td>
		<td nowrap="nowrap" class="admin_query_right01"><select
			name="orgNo4" class="selectbutton" id="orgNo4" style="width: 180px">
				<option value="1"
					<c:if test="${'1'==Bean.orgNo4 }">selected="selected"</c:if>>--全部--</option>
				<option value=""
					<c:if test="${Bean.orgNo4 ==''}">selected="selected"</c:if>>--请选择--</option>
				<c:forEach items="${cmmtinorgsdowndowndown}" var="item">
					<option value="${item[0]}"
						<c:if test="${item[0]==Bean.orgNo4 }">selected="selected"</c:if>>${item[1]}</option>
				</c:forEach>
		</select></td>
	</tr>
</body>
</html>